import React, { Component } from 'react'
import Bottom from './footer/bottom'
import Left from './slider/left'
import Main from './content/main'
import Top from './header/top'
import { Layout } from 'antd'
/**
 * 公用layout组件
 */
export default class layoutPublic extends Component {
  render() {
    return (
      <Layout style={{ height: '100vh' }}>
        <Left {...this.props}></Left>
        <Layout>
          <Top {...this.props}></Top>
          <Main>{this.props.routes}</Main>
          <Bottom></Bottom>
        </Layout>
      </Layout>
    )
  }
}
